/**
 * @author ady
 * @version 1.0
 * @date 2021/7/19 16:35
 */

import axios from './axios'
//获取硬件列表
export function getHDCFSHlist(params) {
    const url = '/ms/api/hdc/fsh/list'
    return axios.get(url, params)
}

//硬件控制
export function getHDCFSHControl(params) {
    const url = '/ms/api/hdc/fsh/control'
    return axios.post(url, params)
}

//硬件历史数据
export function getHDCFSHDataLog(params) {
    const url = '/ms/api/hdc/fsh/data/log'
    return axios.get(url, params)
}

//硬件多媒体文件
export function getHDCFSHMediaList(params) {
    const url = '/ms/api/hdc/fsh/media/list'
    return axios.get(url, params)
}

//上传多媒体文件
export function getHDCFSHUpload(params) {
    const url = '/ms/api/hdc/fsh/upload'
    return axios.post(url, params)
}

//获取算法盒子列表
export function getHDCAlgDeviveList(params) {
    const url = '/ms/api/hdc/alg/device/list'
    return axios.get(url, params)
}

//算法盒子数据详情
export function getHDCAlgDeviceDateLog(params) {
    const url = '/ms/api/hdc/alg/device/data/log'
    return axios.get(url, params)
}

//算法盒子推送地址配置
export function getHDCAlgDeviceConfig(params) {
    const url = '/ms/api/hdc/alg/device/config'
    return axios.get(url, params)
}

//设置算法盒子推送地址配置
export function getHDCAlgDeviceConfigure(params) {
    const url = '/ms/api/hdc/alg/device/configure'
    return axios.post(url, params)
}
//获取视频地址列表
export function getHDCAlgDeviceStreamList(params) {
    const url = '/ms/api/hdc/alg/device/stream/list'
    return axios.get(url, params)
}
//新增算法盒子视频流地址
export function getHDCAlgDeviceStreamAdd(params) {
    const url = '/ms/api/hdc/alg/device/stream/add'
    return axios.post(url, params)
}
//修改算法盒子视频流地址
export function getHDCAlgDeviceStreamEdit(params) {
    const url = '/ms/api/hdc/alg/device/stream/edit'
    return axios.post(url, params)
}
//删除算法盒子视频流地址
export function getHDCAlgDeviceStreamDel(params) {
    const url = '/ms/api/hdc/alg/device/stream/del/'
    return axios.post(url+params)
}
//获取算法盒子视频流地址算法配置
export function getHDCAlgDeviceStreamConfigList(params) {
    const url = '/ms/api/hdc/alg/device/stream/config/list'
    return axios.get(url,params)
}
//新增算法盒子视频流算法配置
export function getHDCAlgDeviceStreamConfigAdd(params) {
    const url = '/ms/api/hdc/alg/device/stream/config/add'
    return axios.post(url,params)
}
//编辑算法盒子视频流算法配置
export function getHDCAlgDeviceStreamConfigEdit(params) {
    const url = '/ms/api/hdc/alg/device/stream/config/edit'
    return axios.post(url,params)
}
//删除算法盒子视频流算法配置
export function getHDCAlgDeviceStreamConfigDel(params) {
    const url = '/ms/api/hdc/alg/device/stream/config/del/'
    return axios.post(url+params)
}